/*
 * @Author: wellington wellington@kreditme.id
 * @Date: 2023-07-04 14:22:45
 * @LastEditors: wellington wellington@kreditme.id
 * @LastEditTime: 2023-07-26 16:31:50
 * @FilePath: /background-removal/vite.config.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { defineConfig } from 'vite';
import vue from '@vitejs/plugin-vue';
import Components from 'unplugin-vue-components/vite'
import AutoImport from 'unplugin-auto-import/vite'
import VueDevTools from 'vite-plugin-vue-devtools'

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [
    vue(), 
    VueDevTools(),
    Components(),
    AutoImport({
      imports: ['vue']
    })
  ],
  // server: {
  //   headers: {
  //     'Cross-Origin-Opener-Policy': 'same-origin',
  //     'Cross-Origin-Embedder-Policy': 'require-corp'
  //   }
  // }
});
